<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pencil</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        body{
            width: 100vw;
            min-height:100vh;
            display: flex;
            justify-content:center;
            align-items: center;
            background-color:#dff9fb;
        }
        .pencil{
             width:50em;
             height: 3.5em;
             font-size: 12px;
             position: relative;
            filter:drop-shadow(5px 10px 3px gray);
            transform:rotate(-45deg);
        }
        .pencil .barret{
            position:absolute;
            width:40em;
            left: 4em;
            background-color: green;
            border-top: 1em solid forestgreen;
            border-bottom: 1em solid darkgreen;
            color: silver;
            line-height: 1.5em;
            text-align: center;
            text-transform: uppercase;
            /* letter-spacing: 0.1em; */
        }
        .pencil .taper::before{
              content: '';
              position: absolute;
              left: -4em;
              border-style: solid;
              border-width: calc(3.5em /2) 4em;
        }
    
        .pencil .taper::before{
            border-color: blue;
            border-color: transparent burlywood  transparent transparent;
        }
        .pencil .taper::after{
            content: '';
              position: absolute;
              left: -4em;
              border-style: solid;
              border-width: calc(3.5em /2) 4em;
              border-color:red;
            border-color: transparent black transparent transparent;
            transform:scale(0.4);
        }
        .pencil .eraser{
            position:absolute;
            right: 0;
            width: 6em;
            height: 1.5em;
            background-color:lightpink;
            border-top: 1em solid pink;
            border-bottom: 1em solid lightcoral;
            border-top-right-radius: 0.5em;
            border-bottom-right-radius: 0.5em;
        }
        .pencil .eraser::before{
            content:"";
            position: absolute;
            top: -1em;
            left: 0;
            width:2em;
            height:1.5em;
            background-color: silver;
            border-top: 1em solid lightgray;
            border-bottom: 1em solid gray;

        }
    </style>
</head>
<body>
   <div class="pencil">
      <span class="taper"></span>
      <span class="barret">codesbeat.com</span>
      <span class="eraser"></span>
   </div> 
</body>
</html>